package com.kusen.village.raise.topic.impl;

import com.kusen.village.raise.entity.jsonbean.HopefulJson;
import com.kusen.village.raise.enums.TopicEnum;
import com.kusen.village.raise.topic.TopicInterface;
import com.kusen.village.raise.util.JsonUtil;

/**
 * @description: 测试docker自己自作的镜像是否会自己更新jar包
 * @author: ghl
 * @create: 2021-10-14 09:47
 **/
public class TestDockerTopic implements TopicInterface {
    @Override
    public void handTopic(String topic, String jsonData) {
       if (TopicEnum.DOCKER_TOPIC.getTopic().equals(topic) ) {
           HopefulJson jsonDataFromHopeful = JsonUtil.getJsonDataFromHopeful(jsonData);
           System.out.println(jsonDataFromHopeful);
       }
    }
}
